package com.codeoss.module.product.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.codeoss.framework.service.impl.BaseService;
import com.codeoss.module.product.dao.ProductAttributeValueMapper;
import com.codeoss.module.product.model.ProductAttributeValue;
import com.codeoss.module.product.service.IProductAttributeValueService;

@Service
public class ProductAttributeValueService extends BaseService<ProductAttributeValueMapper, ProductAttributeValue>
		implements IProductAttributeValueService {
	@Override
	public List<ProductAttributeValue> getProductAttributeValueListByAttributeId(Long productAttributeId) {
		// TODO Auto-generated method stub
		QueryWrapper<ProductAttributeValue> queryWrapper=new QueryWrapper<ProductAttributeValue>();
		queryWrapper.eq("product_attribute_id", productAttributeId);
		return list(queryWrapper);
	}
}